POV-Ray : Newsgroups : povray.advanced-users : Text objects on Pov? : Re: Text objects on Pov? Server Time
30 Jul 2024 06:22:03 EDT (-0400)
  Re: Text objects on Pov?  
From: Remco de Korte
Date: 10 Dec 1999 21:01:47
Message: <3851B023.47BF9C17@xs4all.nl>
AC wrote:
> 
> Nieminen Juha <war### [at] punarastascstutfi> wrote in message
> news:38513935@news.povray.org...
> > AC <amb### [at] teliacom> wrote:
> > : Is there a way to put all the characters in one string so that I
> only
> have
> > : to use the Text command once to draw the word?
> >
> >   Yes, using the concat() function.
> >
> > --
> >
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> > ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*-
> Warp -*/
> 
> Not exactly what I mean........
> line from a povfile:
> 

> <0,0,0>
> scale .1 }  rotate <0,0,0>}
> 

> chr(128),
> Is it possible to do somthing like this in Povray.....
> 
>  text { ttf "c:\windows\fonts\Times.ttf"                "N" + chr(128)
> +
> "PP"          .1, 0 pigment {rgb <0,0,0> scale .1 }  rotate <0,0,0>}
> 
> I think you get the idea

Yes, as Warp said:

text { 
  ttf "c:\windows\fonts\Times.ttf"
  concat("N" + chr(128)+"PP")
  .1, 0 
  pigment {rgb <0,0,0> scale .1 }  
  rotate <0,0,0>
}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.